<svg:rect [attr.dataId]="box.id"
  [attr.x]="box.x"
  [attr.y]="box.y"
  width="20"
  height="20"
  stroke="black"
  [attr.fill]="selected ? 'red' : 'transparent'"
  strokeWidth="1">
</svg:rect>
